package pers.vinsonws.jianghu.serverspring.service;

import pers.vinsonws.jianghu.serverspring.entity.ChatRooms;
import pers.vinsonws.jianghu.util.ChatRoom;
import pers.vinsonws.jianghu.util.User;

import java.util.List;
import java.util.Set;

/**
 * @auther vinsonws
 * @date 2018/11/5 23:14
 * chatroom类
 */
public interface ChatRoomService {
    List<ChatRoom> getAllChatRoom();
    Set<ChatRoom> getJoinedChatRoom(int userId);
    Set<User> getAllUserByChatRoomId(int chatRoomId);
    ChatRoom getChatRoomById(int chatRoomId);
    ChatRooms getChatRoomsById(int chatRoomId);
}
